package com.web.netalbum.util;

import com.web.netalbum.bean.User;

public class GenerateLinkUtils {

	public static String generateActivateLink(User user) {
		 return "http://localhost:8080/NetAlbum/CenterController?operator=activeAccount&id="   
	                + user.getId() + "&" +"code"+ "=" +user.getCode();
	}

	public static String generateResetPwdLink(User user) {
		return "http://localhost:8080/NetAlbum/CenterController?operator=reset&id="   
	                + user.getId() + "&" +"code"+ "=" +user.getCode(); 
	}

}
